package com.itboye.lottery.utils

import com.itboye.lottery.BuildConfig

/**
 * Created by Administrator on 2017/11/29.
 */
class Const {
    companion object {
        var httpHead = BuildConfig.http_head
        var IMAGE_URL = ""
        var DEBUG_IMAGEURL = "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1511933933957&di=a028469a8e819082e64a6f9346b57b32&imgtype=0&src=http%3A%2F%2Fpic4.zhimg.com%2Fv2-837af577623f754735d099de79091c0b_r.jpg"
        var TAG_DEBUG = "tag_lottery"
        var HAS_LOGIN = "has_login"
        var ROLE = "role"
        var CLIEENT_ID_VALUE = "by_android_lottery_client_id"
        var CLIEENT_ID_KEY = "client_id"
        var DATA = "data"
        var SIGN = "sign"
        var TYPE = "type"
        var API_VER = "api_ver"
        var TIME = "time"
        var NOTIFY_ID = "notify_id"
        var SECRET = "byTestSecret654321"
        var APP_TYPE_KEY = "app_type"
        var APP_TYPE_VALUE = "android"
        var APP_VERSION = "app_version"
        var API = "/api.php/"
        var HOST_NAME = BuildConfig.API_HOST
        val API_URL: String = "$httpHead$HOST_NAME" + API
        /**
         * 用户头像地址
         * */
        var avatar: String = "${httpHead}avatar.$HOST_NAME?uid="
        var LOGIN_INFO: String = "_login_info"
        /**
         * 友盟别名
         */
        var UMNG_ALIAS = "com.itboye.lottery"
        /**
         * 网页base地址
         */
        var WEB_BASE_URL: String = "${httpHead}$HOST_NAME/index.php/Wanfajiesao/jiesao"
        /**
         * 帮助中心 url
         */
        var WEB_HELP_CENTER: String = "$WEB_BASE_URL/help/index"
        /**
         * 意见反馈
         */
        val SUGGESTION_URL = "$WEB_BASE_URL/suggest/add"
        var pageSize = 10

        var UID = "uid"
        var NICKNAME = "nickname"
        var USER_HEAD = "user_head"
        val WX_APP_ID: String? = "wx81d85268f3962a51"
        val WX_LOGIN: String = "wx_login"
        val TOKEN: String = "token"
        val PHONE: String = "phone"
        val invitation_code: String = "invitation_code"
        var shuangseqiu: Boolean=false
        var daletou: Boolean=false
        var zq: Boolean=false
        var lq: Boolean=false
        var htmlHead = "<font color='red'>"
        var htmlFoot = "</font>"
    }
}